1001 Secrets for Windows NT Registry
(Publisher: 29th Street Press)
Author(s): Tim Daniels
ISBN: 1882419685
Publication Date: 12/01/97

Previous Table of Contents Next


III-181 You can customize the default help that comes with IIS to include instructions that are specific to your Web site. This registry entry shows you the location for the Help file for InetManager; it’s an HTML document, so you can modify it with standard tools.

Hive: HKEY_LOCAL_MACHINE
Key: Software\Microsoft\InetMgr\Parameters
Value Name: HelpLocation
Data Type: REG_SZ
Value: iisadmin\htmldocs\inetdocs.htm

III-182 Are your users complaining of interrupted file transfers? Increasing the value of this registry parameter can help alleviate these symptoms. This value determines how long your server tries to transfer a file to a user before killing the file. The default value is 1000.

Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Services\InetInfo\Parameters

Add the following value under the Parameters key:

Value Name: MinFileKbSec
Data Type: REG_DWORD
Value: 1000

Here is how this value works. The server establishes a timeout value based on the following formula: The timeout equals the timeout value specified in the Internet Service Manager plus the size of the file being transferred divided by MinFileKbSec registry key.

III-183 If you run a tight ship and have several other applications running on your Web machine, you may want to investigate this parameter. It lets you specify how many threads the server keeps ready to handle input/output requests even when there is no activity. The default is 86,400 seconds, or 24 hours, which keeps threads active all the time. You can adjust this parameter according to your needs.

Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Services\InetInfo\Parameters

Add the following value under the Parameters key:

Value Name: ThreadTimeout
Data Type: REG_DWORD
Value: 86400 (24 hours)

III-184 Problem: You just switched to IIS 3.0 and you’re busy creating Active Server pages left and right. Within minutes of deploying your Active Server pages, you’re flooded with e-mail. Apparently, Active Server is setting cookies and your users don’t like it. The following registry modification fixes this problem.

Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Services\W3SVC\ASP\Parameters
Value Name: AllowSessionState
Data Type: REG_DWORD
Value: 0

Restart your Web machine — and presto, no more cookies.

III-185 If your log files are particularly large, you might try adjusting this parameter in the registry. It gives you control over how much log data the system caches before it writes to the log file. Decreasing this parameter causes it to write more frequently; increasing it causes it to write less frequently.

Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Services\InetInfo\Parameters

Add the following value under the Parameters key:

Value Name: LogFileBatchSize
Data Type: REG_DWORD
Value: 64

The default value is 64 K. Restart the service for any change to take effect.

III-186 If you have a lot of users on your Web site who log on with a user account (not just via anonymous), this registry parameter can help speed access to your system. It determines whether IIS caches security information about a particular file object when it retrieves it and therefore doesn’t need to check the file for subsequent users. The default value is 0, which disables security descriptor caching. A value of 1 enables security descriptor caching.

Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Services\InetInfo\Parameters

Add the following value under the Parameters key:

Value Name: CacheSecurityDescriptor
Data Type: REG_DWORD
Value: 1

III-187 To improve the performance of IIS by allocating more memory to cache, change this registry entry.

Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Services\InetInfo\Parameters

Add the following value under the Parameters key:

Value Name: MemoryCacheSize
Data Type: REG_DWORD
Value: 3072000

The default value is 3072000, or 3 MB. Valid values for this entry range from 0 to 4294967295 bytes. You must have sufficient RAM on your computer to accommodate your setting. Restart the service for this change to take effect.


Previous Table of Contents Next